/***************************************************************
|	File:		Vertex.cpp
|	Author:		Michael Mozdzierz
|	Date:		05/24/2014
|
***************************************************************/

#include "stdafx.h"
#include "Vertex.h"


#pragma region VertexPositionColor
VertexPositionColor::VertexPositionColor(void)
{
	position = Vector3::Zero;
	color = Color::White;
}

VertexPositionColor::VertexPositionColor(Vector3& position, Color& color)
{
	this->position = position;
	this->color = color;
}

VertexPositionColor::~VertexPositionColor(void)
{

}
#pragma endregion

#pragma region VertexPositionTexture
VertexPositionTexture::VertexPositionTexture(void)
{
	position = Vector3::Zero;
	texCoord = Vector2::Zero;
}
VertexPositionTexture::VertexPositionTexture(Vector3& position, Vector2 texCoord)
{
	this->position = position;
	this->texCoord = texCoord;
}

VertexPositionTexture::~VertexPositionTexture(void)
{
}
#pragma endregion

#pragma region VertexPositionNormalTextureColor
VertexPositionNormalTextureColor::VertexPositionNormalTextureColor(void)
{
	position = Vector3::Zero;
	normal = Vector3::Zero;
	texCoord = Vector2::Zero;
	color = Color::White;
}

VertexPositionNormalTextureColor::VertexPositionNormalTextureColor(Vector3& position, Vector3& normal, Vector2& texCoord, Color& color)
{
	this->position = position;
	this->normal = normal;
	this->texCoord = texCoord;
	this->color = color;
}

VertexPositionNormalTextureColor::~VertexPositionNormalTextureColor(void)
{
}
#pragma endregion